package com.lzy.pattern.factory.simple_factory;

/**
 * @ClassName: Coffee
 * @Description: 咖啡类
 * @Author: LiuZy
 * @Date: 2022/4/11 19:52
 * @Version: 1.0
 */
public abstract class Coffee {

    public abstract String getName();

    public void addSugar(){
        System.out.println("加糖");
    }

    public void addMilk(){
        System.out.println("加奶");
    }
}